<html>
<body>
Reports <code>size == 0</code> checks on <code>Collections/Array/String</code> that should be replaced with <code>isEmpty()</code>.
<p>Using <code>isEmpty()</code> makes your code simpler.</p>
<p>The quick-fix replaces the size check with <code>isEmpty()</code>.</p>
<p><b>Example:</b></p>
<pre><code>
  fun foo() {
      val arrayOf = arrayOf(1, 2, 3)
      arrayOf.size == 0
  }
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  fun foo() {
      val arrayOf = arrayOf(1, 2, 3)
      arrayOf.isEmpty()
  }
</code></pre>
<!-- tooltip end -->
</body>
</html>